package review.thread.singleton;

/**
 * @author haomin
 * @date 2022/11/04 21:00
 **/
public class LazyMode2 {
    private static LazyMode2 instance = null;

    public synchronized static LazyMode2 getInstance() {
        if(instance == null){
            instance = new LazyMode2();
        }
        return instance;
    }

    private LazyMode2(){}
}